package com.jsbs.iam.ident.service;


import com.jsbs.iam.common.core.dto.Result;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface ILoginMangerService {
    /**
     * 登录接口
     * @param account
     * @param passWord
     * @return
     * @throws Exception
     */
    Result login (String account, String passWord,HttpServletRequest request);

    /**
     * 登出接口
     * @param request
     * @return
     */
    Result logout (HttpServletRequest request, HttpServletResponse response);
}
